package com.atguigu.jxc.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description 系统首页请求控制器
 */
@Controller
public class IndexController {


    /**
     * 进入登录页面
     * @return 重定向至登录页面
     */
    @GetMapping ("/")
    public String toIndex(){return "redirect:login.html";
    }

}
